<template>
  <el-form-item :label="title">
    <component :is="type" :value="value" @input="$emit('input', $event)" />
  </el-form-item>
</template>

<script>
export default {
  name: "",
  props: {
    title: [String],
    type: [String],
    value: [Number, String]
  },
  data() {
    return {};
  }
};
</script>
